<?php

declare(strict_types=1);

namespace App\Model;


/**
 * @property int $id
 * @property int $uid 用户ID
 * @property int $mission 任务ID
 * @property int $count 任务完成情况
 * @property int $status 任务状态：0-不可领取，1-可领取，2-已领取
 * @property int $expired 每日任务每天更新后设置成1
 * @property string $create_time 创建时间
 * @property string $update_time 更新时间
 */
class Mission extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'tb_mission';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = [];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'uid' => 'integer', 'mission' => 'integer', 'count' => 'integer', 'status' => 'integer', 'expired' => 'integer'];
}
